/*
 * (C) Copyright 2023 orchy
 * This file is licensed under the BSD-3-Clause license.
 * <https://spdx.org/licenses/BSD-3-Clause.html>
 */
#ifndef _STDDEF_H
#define _STDDEF_H

// # 7.17.0
// ## 7.17.0.2
typedef long long int ptrdiff_t;
#ifndef _SIZE_T_DEFINED
  typedef long long int size_t;
  #define _SIZE_T_DEFINED
#endif
#ifndef _WCHAR_T_DEFINED
  typedef long long int wchar_t;
  #define _WCHAR_T_DEFINED
#endif

// ## 7.17.0.3
#ifndef NULL
  #define NULL ((void*)0)
#endif
#define offsetof(type, member_designator) (&((*(type*)0).member_designator))

#endif
